package com.asohofrucol.model;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the form_field_input_answer database table.
 * 
 */
@Entity
@Table(name="form_field_input_answer")
public class FormFieldInputAnswer implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private Long id;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="modified_date")
	private Date modifiedDate;

	@Column(name="modifier_user")
	private String modifierUser;

	private String status;

	private String value;

	//bi-directional many-to-one association to FormAnswer
	@ManyToOne
	@JoinColumn(name="id_form_answer")
	private FormAnswer formAnswer;

	//bi-directional many-to-one association to FormFieldInput
	@ManyToOne
	@JoinColumn(name="id_form_field_input")
	private FormFieldInput formFieldInput;

	public FormFieldInputAnswer() {
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Date getModifiedDate() {
		return this.modifiedDate;
	}

	public void setModifiedDate(Date modifiedDate) {
		this.modifiedDate = modifiedDate;
	}

	public String getModifierUser() {
		return this.modifierUser;
	}

	public void setModifierUser(String modifierUser) {
		this.modifierUser = modifierUser;
	}

	public String getStatus() {
		return this.status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getValue() {
		return this.value;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public FormAnswer getFormAnswer() {
		return this.formAnswer;
	}

	public void setFormAnswer(FormAnswer formAnswer) {
		this.formAnswer = formAnswer;
	}

	public FormFieldInput getFormFieldInput() {
		return this.formFieldInput;
	}

	public void setFormFieldInput(FormFieldInput formFieldInput) {
		this.formFieldInput = formFieldInput;
	}

}